﻿@model ejunkey.Models.Product
@{
    ViewBag.Title = "DELETE PRODUCT";
}

<h2>DELETE PRODUCT</h2>
<div>
    <div>
         Do you really want to delete - <br /><br />
         <div>
            <b>@Html.DisplayTextFor(m => m.ProductName) - @Html.DisplayTextFor(m => m.Price)</b>
         </div>
    </div>
    <br />
    <br />
    <br />
    <br />
    <div>

    @using (Html.BeginForm()) {
 
        <input type="submit" value="YES" name="action:Delete"/>     
    }
             
        <input type="submit" value="NO" onclick="parent.location='@Url.Action("EditProductListing")'" />
    </div>
    <br />
    <br />
    <div>
    <b>Once deleted, a product can not be retreived! You will aslo be unable to look-up information for this product specifically in the logs</b>
    </div>
</div>